#include <stdio.h>
int main()
{
	int year;
	while(1)
	{
		printf("please enter the year you what to check:");
		scanf("%i",&year);
		if(year%400 == 0)
		{
		printf("It is a leap year!\n"); 
	}
	else if((year%4 == 0))
	{
		printf("It is a leap year!\n");
	}
    else
	{
		printf("It is not a leap year!\n");
	 } 
    }
    return 0;
}
